package com.tuo51.bizgame.doctorcat.domain;

import com.tuo51.foudation.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Data
@Entity
@Table(name = "dc_prefer_evaluate")
@EqualsAndHashCode(callSuper = true)
public class PreferEvaluate extends Domain {

    @Column(columnDefinition = "varchar(32) COMMENT '用户id'")
    private String userId;

    @Column(columnDefinition = " varchar(50)  COMMENT '宝宝姓名'")
    private String name;

    @Column(columnDefinition = " varchar(50)  COMMENT '宝宝昵称'")
    private String nickName="";

    @Column(columnDefinition = " int default 0  COMMENT '宝宝性别 ：0：女，1：男'")
    private Integer gender;

    @Column(columnDefinition = " datetime COMMENT '宝宝生日'")
    private Date birthday;

    @Column(columnDefinition = " varchar(50)  COMMENT '可预约测评时间'")
    private String preferTime = "";

    @Column(columnDefinition = " varchar(50)  COMMENT '可预约测评点'")
    private String preferLocation = "";

    @Column(columnDefinition = " varchar(50)  COMMENT '家长联系方式'")
    private String mobile = "";
}
